<?php

namespace AdminPanel\QuestionBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ExamCorrection
 */
class ExamCorrection
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var integer
     */
    private $answerId;

    /**
     * @var integer
     */
    private $questionId;

    /**
     * @var integer
     */
    private $createdAt;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set answerId
     *
     * @param integer $answerId
     * @return ExamCorrection
     */
    public function setAnswerId($answerId)
    {
        $this->answerId = $answerId;
    
        return $this;
    }

    /**
     * Get answerId
     *
     * @return integer 
     */
    public function getAnswerId()
    {
        return $this->answerId;
    }

    /**
     * Set questionId
     *
     * @param integer $questionId
     * @return ExamCorrection
     */
    public function setQuestionId($questionId)
    {
        $this->questionId = $questionId;
    
        return $this;
    }

    /**
     * Get questionId
     *
     * @return integer 
     */
    public function getQuestionId()
    {
        return $this->questionId;
    }

    /**
     * Set createdAt
     *
     * @param integer $createdAt
     * @return ExamCorrection
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return integer 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }
}